//
//  XXBaseTableViewController.swift
//  XXSwiftDemo
//
//  Created by admin on 2022/4/14.
//

import UIKit

class XXBaseTableViewController: UIViewController {

    var tableView:XXBaseTableView!
    func configTableView() {
        fatalError("Must Override")
    }
    
    override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
        super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
        self.configTableView()
    }
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.addSubview(tableView)
        tableView.snp.makeConstraints { make in
            make.top.left.bottom.right.equalTo(0)
        }
    }

}


